package com.example.administrator.dc.Service;

import com.example.administrator.dc.Bean.Collectlistresult;
import com.example.administrator.dc.Bean.Collectresult;
import com.example.administrator.dc.Bean.UnCollectresult;
import com.example.administrator.dc.Bean.Checkcollect;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/8/21.
 */

public interface CollectService {
    @GET("collect")
    Call<Collectresult> collectresultCall (@Query("uid") String uid,
                             @Query("bid") int bid
                             );
    @GET("discollect")
    Call<UnCollectresult> uncollectresult(@Query("uid") String uid,
                                          @Query("bid") int bid
                                          );
    @GET("checkcollect")
    Call<Checkcollect> checkcollect(@Query("uid") String uid,
                                    @Query("bid") int bid
                                    );
    @GET("collectlist")
    Call<Collectlistresult> collectlist(@Query("uid") String uid);


}
